package com.ikun.starters.jwt.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ximeng
 * @title: TokenConfigurationProperties
 */
@ConfigurationProperties(prefix = "starters.jwt")
public class TokenConfigurationProperties {
    //过期时间
    private Integer expireTime = 2592000;
    //token的签名
    private String tokenSignKey = "ikun666";
    //tokenKey
    private String tokenKey = "token";

    public Integer getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }

    public String getTokenSignKey() {
        return tokenSignKey;
    }

    public void setTokenSignKey(String tokenSignKey) {
        this.tokenSignKey = tokenSignKey;
    }

    public String getTokenKey() {
        return tokenKey;
    }

    public void setTokenKey(String tokenKey) {
        this.tokenKey = tokenKey;
    }
}
